
const { ccclass, property } = cc._decorator;

@ccclass
export default class SmallBigComp extends cc.Component {

    @property
    time: number = 0.2;

    @property
    dis: number = 0.2;

    start() {
        cc.tween(this.node).repeatForever(cc.tween(this.node).by(this.time, { scale: -this.dis }).by(this.time, { scale: this.dis })).start();
    }

    // update (dt) {}
}
